package com.heo.music.player.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * created on 2024-05-12 10:26
 *
 * @author 星天无极
 **/

@ApiModel(description = "修改密码")
@Data
public class ModifyPasswordInput {

    @NotNull(message = "旧密码不能为空")
    @ApiModelProperty("旧密码不能为空")
    private String oldPassword;

    @NotNull(message = "新密码不能为空")
    @ApiModelProperty("新密码不能为空")
    private String newPassword;

}
